
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

class PerformanceView extends StatefulWidget {
  const PerformanceView({super.key});

  @override
  State<PerformanceView> createState() => _PerformanceViewState();
}

class _PerformanceViewState extends State<PerformanceView> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Performance"),
        centerTitle: true,
        leading: TextButton(onPressed: () {
          context.pop();
        }, child: Text("返回")),
      ),
      body: Column(
        children: [
            TextButton(onPressed: (){
              context.push('/performance/frame');
            }, child: Text("帧率"))
        ],
      ),
    );
  }
}
